<!--首页-->
<template>
  <div>
    <h1>e洁家政欢迎您！</h1>
    <el-carousel indicator-position="outside" height="410px">
      <el-carousel-item v-for="item in 3" :key="item" loops>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  data() {
    return {
    };
  },
  computed: {},
  methods: {},
  created() {},
  mounted() {}
};
</script>
<style>
h1{
  text-align: center;
  color: rgba(0, 128, 128, 0.726);
}
  .el-carousel__item h3 {
    color: #475669;
    font-size: 18px;
    opacity: 0.75;
    line-height: 300px;
    margin: 0;
  }
  
  .el-carousel__item:nth-child(3n+1) {
    background-color: #99a9bf;
    background-image: url("D:/25126/桌面/ej_manager/src/assets/家政1.jpg");
    background-position: center;
  }  .el-carousel__item:nth-child(3n+2) {
    background-color: #99a9bf;
    background-image: url("D:/25126/桌面/ej_manager/src/assets/家政2.jpg");
    background-position: center;

  }  .el-carousel__item:nth-child(3n+3) {
    background-color: #99a9bf;
    background-image: url("D:/25126/桌面/ej_manager/src/assets/家政3.jpg");
    background-position: center;

  }

</style>